Defines | |
| #define | PA_DualLoadPal(palette, source) |
| Load a 256 color palette in the Bg or Sprite palette of both screens | |
| #define | PA_DualLoadPal16(palette, n_palette, source) |
| Load a 16 color palette in the Bg or Sprite palette of both screens | |
Functions | |
| void | PA_DualSetPalNeg (u32 palette) |
| Set all the palette's color to negative. To undo this, simply negative again... | |
| void | PA_DualSetPal16Neg (u32 palette, u8 n_palette) |
| Set 16 color palette to negative. To undo this, simply negative again... | |
| void | PA_DualLoadSpriteExtPal (u8 palette_number, void *palette) |
| Load a 256 color palette in the Sprite extended palettes | |
| void | PA_DualSetBgColor (u16 color) |
| Change the background color of both screens | |
|
|
Value: {\
DMA_Copy((void*)source, (void*)palette, 256, DMA_16NOW);\
DMA_Copy((void*)(source+1024), (void*)palette, 256, DMA_16NOW);}
|
|
|
Value: {\
DMA_Copy((void*)source, (void*)(palette + (n_palette << 5)), 16, DMA_16NOW);\
DMA_Copy((void*)source, (void*)(palette + 1024 + (n_palette << 5)), 16, DMA_16NOW);}
|
|
||||||||||||
|
Load a 256 color palette in the Sprite extended palettes
|
|
|
Change the background color of both screens
|
|
||||||||||||
|
Set 16 color palette to negative. To undo this, simply negative again...
|
|
|
Set all the palette's color to negative. To undo this, simply negative again...
|
1.3.9.1